package com.airlines.crewassignment.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
public class LinkLineLoop implements Serializable{
	private static final long serialVersionUID = 7380931464905312762L;
	//以下是数据库中对应的实体字段
    private Integer id;
    private Integer loopNo; //任务环No
    private String loopName; //任务环名称
    private String startWeeks; //任务环开始班期
    private Integer linkLineCount; //任务环连线总计
    private Integer nightPassCount;//任务环过夜次数总计
    private Integer flightDurationSum; //飞行时间总计
    private Integer dayCount; //任务所需日期总计

    //以下非数据库字段
    private List<LinkLineLoopDay> linkLineLoopDayList = new ArrayList<>();    //该任务换每天的数据统计
    private List<LinkLineLoopItem> linkLineLoopItemList =  new ArrayList<>(); //该任务环具体连线任务明细
    private List<Integer> startWeekList =  new ArrayList<>();
   
    
    
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getLoopNo() {
		return loopNo;
	}
	public void setLoopNo(Integer loopNo) {
		this.loopNo = loopNo;
	}
	public String getLoopName() {
		return loopName;
	}
	public void setLoopName(String loopName) {
		this.loopName = loopName;
	}
	public String getStartWeeks() {
		return startWeeks;
	}
	public void setStartWeeks(String startWeeks) {
		this.startWeeks = startWeeks;
	}
	public Integer getLinkLineCount() {
		return linkLineCount;
	}
	public void setLinkLineCount(Integer linkLineCount) {
		this.linkLineCount = linkLineCount;
	}
	public Integer getNightPassCount() {
		return nightPassCount;
	}
	public void setNightPassCount(Integer nightPassCount) {
		this.nightPassCount = nightPassCount;
	}
	public Integer getFlightDurationSum() {
		return flightDurationSum;
	}
	public void setFlightDurationSum(Integer flightDurationSum) {
		this.flightDurationSum = flightDurationSum;
	}
	public Integer getDayCount() {
		return dayCount;
	}
	public void setDayCount(Integer dayCount) {
		this.dayCount = dayCount;
	}
	public List<LinkLineLoopDay> getLinkLineLoopDayList() {
		return linkLineLoopDayList;
	}
	public void setLinkLineLoopDayList(List<LinkLineLoopDay> linkLineLoopDayList) {
		this.linkLineLoopDayList = linkLineLoopDayList;
	}
	public List<LinkLineLoopItem> getLinkLineLoopItemList() {
		return linkLineLoopItemList;
	}
	public void setLinkLineLoopItemList(List<LinkLineLoopItem> linkLineLoopItemList) {
		this.linkLineLoopItemList = linkLineLoopItemList;
	}
	public List<Integer> getStartWeekList() {
		return startWeekList;
	}
	public void setStartWeekList(List<Integer> startWeekList) {
		this.startWeekList = startWeekList;
	}
	public String getLoopIdFact() {
		return loopIdFact;
	}
	public void setLoopIdFact(String loopIdFact) {
		this.loopIdFact = loopIdFact;
	}
	public LinkLineLoopItem getLoopItemFact() {
		return loopItemFact;
	}
	public void setLoopItemFact(LinkLineLoopItem loopItemFact) {
		this.loopItemFact = loopItemFact;
	}
	public LinkLineLoopDay getLoopDayFact() {
		return loopDayFact;
	}
	public void setLoopDayFact(LinkLineLoopDay loopDayFact) {
		this.loopDayFact = loopDayFact;
	}
	//以下是关联到具体的flightDate+linkline 事实实例信息
    private String loopIdFact;
    private LinkLineLoopItem loopItemFact;
    private LinkLineLoopDay loopDayFact;
    
}